﻿using EyFramework.Sys.Core.Dao;
using EyFramework.Sys.Entity;
using System.Collections.Generic;

namespace EyFramework.Sys.Core.Service
{
    public class SysMenuService : BaseHisService, ISysMenuService
    {
        protected readonly ISysMenuDao _sysMenuDao;

        public SysMenuService(ISysMenuDao sysMenuDao)
        {
            _sysMenuDao = sysMenuDao;
        }

        public List<SysMenu> GetUserMenusBySys(string usrId, string sysId)
        {
            return _sysMenuDao.GetUserMenusBy(usrId, sysId);
        }
    }
}